package com.zwb.mongostudy.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;
import org.springframework.data.mongodb.core.annotation.Collation;

import java.math.BigDecimal;

/**
 * Description:
 * Copyright: (c) 2022 SunTime Co'Ltd Inc. All rights reserved.<br/>
 *
 * @author zhongwb
 * @version 1.0
 * @date 2025/03/24 11:21
 * @since JDK11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = lombok.AccessLevel.PRIVATE)
public class Person {

    String id;

    String name;

    int age;

    BigDecimal amount;

}
